Skip to content

Conversation

nicolo-ribaudo
Copy link
Member

This PR implements the normative change that reached consensus in July 2025 (slides, notes)

This is what the exact consensus request was, that this PR matches:
image

@nicolo-ribaudo nicolo-ribaudo added normative change Affects behavior required to correctly evaluate some ECMAScript source text needs test262 tests The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262 has consensus This has committee consensus. labels Oct 1, 2025
Copy link

github-actions bot commented Oct 1, 2025

The rendered spec for this PR is available at https://tc39.es/ecma262/pr/3695.

lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Oct 3, 2025
…der r=jonco

This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.

This change was discussed at the July 2025 TC39 meeting.

Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591

Differential Revision: https://phabricator.services.mozilla.com/D267210
@nicolo-ribaudo nicolo-ribaudo added has test262 tests and removed needs test262 tests The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262 labels Oct 6, 2025
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this pull request Oct 7, 2025
…der r=jonco

This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.

This change was discussed at the July 2025 TC39 meeting.

Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591

Differential Revision: https://phabricator.services.mozilla.com/D267210
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 8, 2025
…der r=jonco

This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.

This change was discussed at the July 2025 TC39 meeting.

Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591

Differential Revision: https://phabricator.services.mozilla.com/D267210

UltraBlame original commit: a3cf4d1eef17209c4c4194e07f38fe870c417781
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 8, 2025
…der r=jonco

This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.

This change was discussed at the July 2025 TC39 meeting.

Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591

Differential Revision: https://phabricator.services.mozilla.com/D267210

UltraBlame original commit: a3cf4d1eef17209c4c4194e07f38fe870c417781
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 8, 2025
…der r=jonco

This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.

This change was discussed at the July 2025 TC39 meeting.

Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591

Differential Revision: https://phabricator.services.mozilla.com/D267210

UltraBlame original commit: a3cf4d1eef17209c4c4194e07f38fe870c417781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has consensus This has committee consensus. has test262 tests normative change Affects behavior required to correctly evaluate some ECMAScript source text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant